<div class="position f-cb">
	<div class="bg"></div>
	<div class="position_cen f-cb">
		<div class="pbox">
			{volist name=":getArray(fun('Sort@son',intval($fid))?:fun('Sort@brother',$fid))" id="name"}
			<a href="{:urls('content/index',"fid=$key")}" {eq name="$key" value="$fid"}class="active"{/eq}><span>{$name}</span></a>
			{/volist}
		</div>
		<div class="swiper-container">
			<div class="swiper-wrapper">
				{volist name=":getArray(fun('Sort@son',intval($fid))?:fun('Sort@brother',$fid))" id="name"}
				<div class="swiper-slide {eq name="$key" value="$fid"}active{/eq}">
					<a href="{:urls('content/index',"fid=$key")}"><span>{$name}</span></a>
				</div>
				{/volist}
			</div>
		</div>
	</div>
</div>
<script type="application/javascript">
	$(function() {
		if (window.list_parent_id == "{$fid}") {
			$('.position a').eq(0).addClass('active');
			init(0);
		}
	})
</script>